<script lang="ts" setup>
import {ref} from 'vue'
import {useRoute} from 'vue-router'


const route = useRoute()

function show() {
  console.log(route.params.id)
  console.log(route.query.name)
}
</script>

<template>
  <h3>数字数组</h3>
  <p v-for="score in $route.params.scores">{{ score }}</p>
</template>

<style scoped>

</style>
